<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var flag = true;
        if(flag){
            console.log("我是真的");
        }

        var num1 = 10;
        var num2 = 20;
        if(num1 < num2){
            console.log(num1); 
        }
    </script>
</body>
</html>